clean_instruction:
	rm -rf *.o instruction*.h run_inst.log 
clean_data:
	rm -rf *.o ./files/* run_data.log
compile_inst:
	@make -s clean_instruction
	gcc inst_generator_pointmapping.c -o inst_generator_pointmapping.o
	gcc inst_generator_ssconv.c -o inst_generator_ssconv.o
	unbuffer ./inst_generator_pointmapping.o | tee run_inst.log
	unbuffer ./inst_generator_ssconv.o | tee -a run_inst.log
compile_data:
	@make -s clean_data
	gcc data_generator.c -o data_generator.o
	unbuffer ./data_generator.o | tee -a run_data.log
compile_all:
	@make -s clean_data
	@make -s clean_instruction
	@make -s compile_inst
	@make -s compile_data		

